package JUnitTest;

import static org.junit.Assert.*;

import org.junit.Test;

import Model.User;
import DBAccess.DBAccess;
public class UserTest {
	DBAccess access = new DBAccess();
	User user = new User(5);
	User user2 = new User(6, true);
	
	@Test
	public void getNameTest(){
		assertNotNull(user.getName(1));
	}
	
	@Test
	public void getEmailTest(){
		assertNotNull(user.getEmail());
	}
	
	@Test
	public void getIDTest(){
		assertEquals(user.getId("Mike"), 1);
	}


}
